# Contributer: Baruch Burstein <bmburstein at gmail dot com>

pkgname=cloc
pkgver=1.72
pkgrel=1
pkgdesc="Count lines of code"
arch=('any')
url="https://github.com/AlDanial/cloc"
license=('GPL')
depends=('perl' 'perl-Algorithm-Diff' 'perl-Regexp-Common')
source=(https://github.com/AlDanial/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('dfd238115948ef6c9c3f9c89094ff9fb7a77ff1d23d0ff81aed7c445565f87be')

package() {
  cd $pkgname-$pkgver/Unix
  make DESTDIR="$pkgdir" install
}
